module.exports = {
    addUserService: async (req, res) => {
        const { username, password } = req.body
        const User = require("../../models/User")
        const user = new User({ username, password })
        user.save()
        res.send(user)
    }
}